'Declaration Public Shared Function FindVisualTool<TThe visual tool type to find.>( _
ByVal visualToolThe visual tool, where visual tool of specified type must be searched.As WpfVisualTool _
) As T (Of TThe visual tool type to find.As WpfVisualTool)
public static T FindVisualTool<T>(
WpfVisualTool visualTool
) where T: WpfVisualTool
public: static T* FindVisualTool<T>(
WpfVisualTool* visualTool
) where T: WpfVisualTool*
generic<typename T> public:
static T^ FindVisualTool(
WpfVisualTool^ visualTool
) where T: WpfVisualTool^
Parameters
- visualTool
- The visual tool, where visual tool of specified type must be searched.
Type Parameters
- T
- The visual tool type to find.
Return Value
The visual tool of specified type if visual tool is found; otherwise, null.